<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="mytags" uri="/WEB-INF/mytags.tld" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
.STYLE4 {
	color: #03515d;
	font-size: 12px;
}
-->
</style>
<script type="text/javascript" src="<%=path %>/common/jquery.js"></script>
<script type="text/javascript" src="<%=path %>/common/mark-ui.js"></script>
<script type="text/javascript" src="<%=path %>/common/formValidator/formValidator-4.1.1.js" charset="UTF-8"></script>
<script type="text/javascript" src="<%=path %>/common/formValidator/formValidatorRegex.js" charset="UTF-8"></script>
<script type="text/javascript">

if('${saveFlag}'!=''){
	if('${saveFlag}'=='1'){
		alert('保存成功！');
		parent.refesh();
	}else{
		alert('保存失败，登陆名重复！');
	}
}
function reback(){
	closeWin();
}
</script>
<script type="text/javascript">

jQuery(document).ready(function(){

	jQuery.formValidator.initConfig({formID:"form1",theme:'ArrowSolidBox',mode:'AutoTip',onError:function(msg){alert(msg)},inIframe:true});
	jQuery("#menuName").formValidator({onShow:"请输入菜单名",onFocus:"请输入菜单名",onCorrect:"菜单名正确"}).inputValidator({min:1,onErrorMin:"菜单名不能为空",onErrorMax:"菜单名不能>50",max:50});

	
});

</script>

</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="30" background="<%=path %>/images/tab_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="30"><img src="<%=path %>/images/tab_03.gif" width="12" height="30" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="46%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="5%"><div align="center"><img src="<%=path %>/images/tb.gif" width="16" height="16" /></div></td>
                <td width="95%" class="STYLE1"><span class="STYLE3">你当前的位置</span>：[系统管理]-[菜单信息配置]</td>
              </tr>
            </table></td>
            <td width="54%"><table border="0" align="right" cellpadding="0" cellspacing="0">
              <tr>
                
                <td width="82"><table width="88%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center"><img src="<%=path %>/images/tb.gif" width="14" height="14" /></div></td>
                    <td class="STYLE1"><div align="center" style="cursor: hand;" onclick="reback();">返回列表</div></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
          
        </table></td>
        <td width="16"><img src="<%=path %>/images/tab_07.gif" width="16" height="30" /></td>
      </tr>
      
    </table></td>
  </tr>
  

  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
    
      <tr>
        <td width="8" background="<%=path %>/images/tab_12.gif">&nbsp;</td>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="b5d6e6" >
            <s:form action="/sys/Menus_save.action" method="post" name="form1" id="form1">
            <input type="hidden" id="id" name="vo.id" value="${vo.id }" />
			<input type="hidden" id="pid" name="vo.pid" value="${vo.pid }" />
            <tr>
            <td colspan="2" width="20%" height="52" bgcolor="#FFFFFF"><div align="center">
              【菜单信息管理】
            </div></td>
           
            
          </tr>
          <tr>
            <td colspan="1" width="20%" height="22" bgcolor="#FFFFFF"><div align="right">
             	 菜单名：
            </div></td>
            <td colspan="1" height="32" bgcolor="#FFFFFF"><div align="left">
              &nbsp;<input id="menuName" type="text" name="vo.menuName" value="${vo.menuName }" />
            </div></td>
            
          </tr> 
 		<tr>
            <td colspan="1" width="20%" height="22" bgcolor="#FFFFFF"><div align="right">
              	菜单代码：
            </div></td>
            <td colspan="1" height="32" bgcolor="#FFFFFF"><div align="left">
              &nbsp;<input id="menuCode" type="text" name="vo.menuCode" value="${vo.menuCode }" />
            </div></td>
            
          </tr> 
           <tr>
            <td colspan="1" width="20%" height="22" bgcolor="#FFFFFF"><div align="right">
              	菜单URL路径：
            </div></td>
            <td colspan="1" height="32" bgcolor="#FFFFFF"><div align="left">
              &nbsp;<input id="actionUrl" type="text" name="vo.actionUrl" value="${vo.actionUrl }" />
            </div></td>
            
          </tr> 
           <tr>
            <td colspan="1" width="20%" height="22" bgcolor="#FFFFFF"><div align="right">
            	排序号：
            </div></td>
            <td colspan="1" height="32" bgcolor="#FFFFFF"><div align="left">
              &nbsp;<input id="sortKey" type="text" name="vo.sortKey" value="${vo.sortKey }" />
            </div></td>
            
          </tr> 
	
           <tr>
            <td colspan="2" width="20%" height="52" bgcolor="#FFFFFF"><div align="center">
              &nbsp;<input id="subId" type="submit" value="提交">&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="取消">
            </div></td>
           
            
          </tr>
          </s:form>
        </table></td>
        <td width="8" background="<%=path %>/images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="35" background="<%=path %>/images/tab_19.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="35"><img src="<%=path %>/images/tab_18.gif" width="12" height="35" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="STYLE4">&nbsp;&nbsp;</td>
            <td></td>
          </tr>
        </table></td>
        <td width="16"><img src="<%=path %>/images/tab_20.gif" width="16" height="35" /></td>
      </tr>
    </table></td>
  </tr>
</table>
<div id="output"></div>
</body>
</html>
